
import uvicorn
from apscheduler.schedulers.asyncio import AsyncIOScheduler
from apscheduler.schedulers.background import BackgroundScheduler
from pytz import utc
from variable import dependent_data, executors

# dependent_data["sched"] = AsyncIOScheduler(executors=executors, timezone="Asia/Shanghai")
dependent_data["ground_sched"] = BackgroundScheduler(executors=executors, timezone="Asia/Shanghai")

if __name__ == '__main__':
    # uvicorn.run(app="controller:app", host="0.0.0.0", port=1650, reload=True)
    uvicorn.run(app="controller:app", host="0.0.0.0", port=1650)






















